package homework.day318.demo2;

public class Circular extends Graph {
    private Double radius;

    public Double getRadius() {
        return radius;
    }

    public void setRadius(Double radius) {
        this.radius = radius;
    }
    public Circular(){
        super();
    }

    public void calculateArea(){
        System.out.println(radius * radius * 3.14);
    }
}
